package com.sddr.common.constant;

public class LinkFlowConstant {
   
    public static final String GROUP = "group";
    public static final String RULE = "rule";
    public static final String VERSION = "version";
    public static final String ZONE = "zone";
    public static final String GRAY = "gray";
    
    public static final String GRAY_FLAG_TRUE = "true";
    
    public static final String GRAY_FLAG_FALSE = "false";
    public static final String LINK_FLOW_PREFIX = "link-flow-";
    public static final String LINK_FLOW_VERSION = "link-flow-version";
    public static final String LINK_FLOW_VERSION_WEIGHT = "link-flow-version-weight";
    public static final String LINK_FLOW_DOWNGRADES_VERSION = "link-flow-downgrades-version";
    public static final String LINK_FLOW_DOWNGRADES_ZONE = "link-flow-downgrades-zone";
    public static final String LINK_FLOW_GRAY = "link-flow-gray";
    public static final String SEPARATE = ";";
    public static final String EQUALS = "=";
    public static final String DEFAULT = "default";
    
    public static final String FALSE_STR = "false";
    
    public static final String GENERAL_VERSION_RULE = "generalVersionRule";
    
    public static final String GENERAL_DOWNGRADES_VERSION_RULE = "generalDowngradesVersionRule";
    
    public static final String GENERAL_DOWNGRADES_ZONE_RULE = "generalDowngradesZoneRule";
    
    public static final String GENERAL_GRAY_RULE = "generalGrayRule";
    
    public static final String GENERAL_VERSION_WEIGHT_RULE = "generalVersionWeightRule";
    
    public static final String SPRING_CLOUD_LINK_FLOW_METADATA = "spring.cloud.link-flow.metadata";
    
    public final static String BRACE_PREFIX = "{";
    
    public final static String BRACKET_PREFIX = "[";
    
    public final static int DEFAULT_WEIGHT = 0;
}